<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<!--头部信息-->
<head>
    <meta charset="UTF-8">
    <title>登陆</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Access-Control-Allow-Origin" content="*">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
    <link rel="stylesheet" href="common/css/login.css">
    <link rel="stylesheet" href="lib/layui-v2.5.5/css/layui.css" media="all">

    <scritp src="common/js/jquerysession.js" charset="utf-8"></scritp>
    <script src="lib/jquery-3.4.1/jquery-3.4.1.min.js" charset="utf-8"></script>
    <script src="lib/layui-v2.5.5/layui.js" charset="utf-8"></script>
    <script src="lib/jq-module/jquery.particleground.min.js" charset="utf-8"></script>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
</head>
<!--登录页-->
<body>
<div class="layui-container">
    <div class="admin-login-background">
        <div class="layui-form login-form">
            <form class="layui-form" action="/checkLogin" method="post">
                <!--标题-->
                <div class="layui-form-item logo-title">
                    <h1>用户登录</h1>
                </div>
                <!--用户名-->
                <div class="layui-form-item">
                    <label class="layui-icon layui-icon-username"></label>
                    <input type="text" name="username" id="username" lay-verify="required|account" autocomplete="on"
                           placeholder="请输入用户名" class="layui-input">
                </div>
                <!--密码-->
                <div class="layui-form-item">
                    <label class="layui-icon layui-icon-password"></label>
                    <input type="password" id="password" name="password" lay-verify="required|password" placeholder="请输入密码"
                           autocomplete="off" class="layui-input">
                </div>
                <!--验证码-->
                <!-- <div class="layui-form-item">
                     <label class="layui-icon layui-icon-vercode"></label>
                     <input type="text" name="captcha" lay-verify="required|captcha" placeholder="图形验证码"
                            autocomplete="off" class="layui-input verification captcha" value="xszg">
                     <div class="captcha-img">
                         <img id="captchaPic" src="../images/captcha.jpg">
                     </div>
                 </div>-->
                <!--记住密码-->
                <div class="layui-form-item">
                    <input type="checkbox" name="rememberMe" value="true" lay-skin="primary" title="记住密码">
                </div>
                <!--登录-->
                <div class="layui-form-item">
                    <button type="submit" class="layui-btn layui-btn layui-btn-normal layui-btn-fluid">登&nbsp;&nbsp;录
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>

<script>
    layui.use(['form', 'jquery', 'layer'], function () {
        var form = layui.form,
            layer = layui.layer,
            $ = layui.jquery;


        // 登录过期的时候，跳出ifram框架
        if (top.location !== self.location) top.location = self.location;

        // 粒子线条背景
        $(document).ready(function () {
            $('.layui-container').particleground({
                dotColor: '#7ec7fd',
                lineColor: '#7ec7fd'
            });
        });
    });
</script>
</body>
</html>